package com.turing.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "admin")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminConfig {

    private Integer userId;

    private String userName;

    private String account;

    private String password;

    private  Integer customerId;

    private String customerName;

    private Integer roleId;

    private String roleName;

}
